home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
361_01
/
scancode.h
< prev
next >
Wrap
Text File
|
1991-04-03
|
5KB
|
166 lines
/* ScanCode.h --> Non-ASCII PC-AT Keyboard Scan Codes. */
#define ALT_BS 14
#define SHIFT_HT 15
#define ALT_Q 16
#define ALT_W 17
#define ALT_E 18
#define ALT_R 19
#define ALT_T 20
#define ALT_Y 21
#define ALT_U 22
#define ALT_I 23
#define ALT_O 24
#define ALT_P 25
#define ALT_LBRACE 26
#define ALT_RBRACE 27
#define ALT_RTN 28
#define EK157 29
#define ALT_A 30
#define ALT_S 31
#define ALT_D 32
#define ALT_F 33
#define ALT_G 34
#define ALT_H 35
#define ALT_J 36
#define ALT_K 37
#define ALT_L 38
#define ALT_SEMI 39
#define ALT_QUOTE 40
#define ALT_TILDE 41
#define EK170 42
#define ALT_BKSL 43
#define ALT_Z 44
#define ALT_X 45
#define ALT_C 46
#define ALT_V 47
#define ALT_B 48
#define ALT_N 49
#define ALT_M 50
#define ALT_COMMA 51
#define ALT_DOT 52
#define ALT_QUERY 53
#define EK182 54
#define ALT_STAR 55
#define EK184 56
#define EK185 57
#define EK186 58
#define F1 59
#define F2 60
#define F3 61
#define F4 62
#define F5 63
#define F6 64
#define F7 65
#define F8 66
#define F9 67
#define F10 68
#define EK197 69
#define EK198 70
#define HOME 71
#define UP 72
#define PGUP 73
#define ALT_MINUS 74
#define BWD 75
#define EK204 76
#define FWD 77
#define ALT_PLUS 78
#define END 79
#define DN 80
#define PGDN 81
#define INS 82
#define DEL_KEY 83
#define SHIFT_F1 84
#define SHIFT_F2 85
#define SHIFT_F3 86
#define SHIFT_F4 87
#define SHIFT_F5 88
#define SHIFT_F6 89
#define SHIFT_F7 90
#define SHIFT_F8 91
#define SHIFT_F9 92
#define SHIFT_F10 93
#define CTL_F1 94
#define CTL_F2 95
#define CTL_F3 96
#define CTL_F4 97
#define CTL_F5 98
#define CTL_F6 99
#define CTL_F7 100
#define CTL_F8 101
#define CTL_F9 102
#define CTL_F10 103
#define ALT_F1 104
#define ALT_F2 105
#define ALT_F3 106
#define ALT_F4 107
#define ALT_F5 108
#define ALT_F6 109
#define ALT_F7 110
#define ALT_F8 111
#define ALT_F9 112
#define ALT_F10 113
#define EK242 114
#define CTL_BWD 115
#define CTL_FWD 116
#define CTL_END 117
#define CTL_PGDN 118
#define CTL_HOME 119
#define ALT_1 120
#define ALT_2 121
#define ALT_3 122
#define ALT_4 123
#define ALT_5 124
#define ALT_6 125
#define ALT_7 126
#define ALT_8 127
#define ALT_9 128
#define ALT_0 129
#define ALT_DASH 130
#define ALT_EQUALS 131
#define CTL_PGUP 132
/* In their finite wisdom, IBM put support for the AT's "Extended Keycode" in
* the BIOS and then failed to make it available to DOS. PC Power Tools has
* NewKeys.com which "Patches" DOS to access INTR 16H via functions 10H-12H
* (instead of 0-2) thereby picking up 31 new ScanCodes for the 101 Key "Big
* Keyboard" starting at 133.
*/
#define F11 133
#define F12 134
#define SHIFT_F11 135
#define SHIFT_F12 136
#define CTL_F11 137
#define CTL_F12 138
#define ALT_F11 139
#define ALT_F12 140
#define CTL_UP 141
#define CTL_DASH 142
#define CTL_5 143
#define CTL_PLUS 144
#define CTL_DN 145
#define CTL_INS 146
#define CTL_DEL_KEY 147
#define CTL_HT 148
#define CTL_SL 149
#define CTL_STAR 150
#define ALT_HOME 151
#define ALT_UP 152
#define ALT_PGUP 153
#define EK282 154
#define ALT_BWD 155
#define EK284 156
#define ALT_FWD 157
#define EK286 158
#define ALT_END 159
#define ALT_DN 160
#define ALT_PGDN 161
#define ALT_INS 162
#define ALT_DEL_KEY 163
#define ALT_SL 164
#define ALT_HT 165
#define ALT_ENTER 166